package two_xia.ex5.Demo01;

public abstract class ComputerBuilder {
    //不允许不同包访问该属性
    protected Computer computer = new Computer();

    public abstract void buildCpu();

    public abstract void buildRam();

    public abstract void buildDisk();

    public abstract void buildHost();

    public abstract void buildMonitor();

    public Computer getComputer() {
        return computer;
    }
}